package com.ok.api.client;

import cn.hutool.db.Page;
import com.ok.api.client.fallback.IntegralFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName CartoonClient
 * @Description TODO
 * @Author hw
 * @Date 2024/5/14 21:13
 */
@FeignClient(value = "ok-cartoon")
public interface CartoonClient {
    //es分页查询
    @GetMapping("/cartoon/pageEs")
    public Page pageEs(@RequestParam Integer pageNo, @RequestParam Integer pageSize);
}
